package info.techgeek.labs.patterns.serviceLocatorPattern;

import java.util.*;
import javax.naming.*;
import java.rmi.RemoteException;
import javax.rmi.PortableRemoteObject;
import java.io.*;

public class MyAppServiceVerifiable implements ServiceVerifiable  
{
  public void checkServices() throws Exception
  {
    /*VerifiedServiceLocator  serviceLocator =
      VerifiedServiceLocator.getInstance();
    MyEJBHome myEJBHome =
      (MyEJBHome) serviceLocator.lookup
        (MyEJBHome.class, "myEJBJNDI");
    MyRemote myRemote = myEJBHomee.create();
    try
    {
      myRemote .remove();
    }  
    catch (javax.ejb.RemoveException e)
    {
      e.printStackTrace();
    }*/
  }
  
  public void followError(Exception exc) { }
}
